<!-- @section('title')
    咨询详情 @parent
@show

@section('content')
	{{ HTML::style('css/questionlawyer.css')}} 
	{{ HTML::script('js/question/questionView.js') }}
    <div class="container issueDetail">
	    <div class="issueClass" style="width:730px">
	        <dl class="issueClassInfo clear issueClassInfobox">
	            <dt>
	            	<span class="title">&nbsp;{{ $data['title'] }}</span>
	            	<a href="javascript:void(0);" style="margin-right:20px;float:right;" class="favorite" data-id="{{ $data['id'] }}" title="收藏">
		            	@if($data['is_collect'])
		            	<span class="icon"><i class="favorite-on"></i></span>
		            	@else
		            	<span class="icon"><i class="favorite-off"></i></span>
		            	@endif
	                </a>
	            </dt>
	            <dd class="usimg"><img src="{{ Config::get('app.url') }}/img/dfimg.png" width="80" height="80"></dd>
	            <dd style="margin-top: 20px"><span>普通用户</span><label id="created_at" class="dateTime">{{ $data['created_at'] }}</label></dd>
	            <dd id="content" class="issuetxt" style="color:#999;padding-left: 20px;width:570px;">{{ $data['content'] }}</dd>
	        </dl>
	        <b  class="title">律师回复</b>
	    	<div class="replybox">
	    	@for ($i = 0; $i < count($data['comments']); $i++)	
	    		@if($data['comments'][$i]['from_creator'])
	    		<dl class="interface">
		            <dt class="usimg"><img src="{{ $data['comments'][$i]['owner']['avatar']}}" width="80" height="80"></dt>
		            <dd style="margin-top: 20px"><span class="mane">普通用户</span><label id="created_at" class="dateTime">{{ $data['comments'][$i]['created_at'] }}</label></dd>
		            <dd id="content" class="issuetxt">
		            	<i class="icon_jiao"></i>
		            	<span class="contents">{{ $data['comments'][$i]['content'] }}</span>
		            </dd>
		        </dl>
		        @else
		        <dl class="lvinterface">
		            <dt class="usimg"><img src="{{ $data['comments'][$i]['owner']['avatar']}}" width="80" height="80"></dt>
		            <dd style="margin-top: 20px"><span class="mane">{{ $data['comments'][$i]['owner']['realname'] }}</span><label class="dateTime">{{ $data['comments'][$i]['created_at'] }}</label></dd>
		            <dd id="content" class="issuetxt">
		            	<i class="icon_jiao"></i>
		            	<span class="contents">{{ $data['comments'][$i]['content'] }}</span>
		            </dd>
		        </dl>
		        @endif
		    @endfor  
	    	</div>
	    </div>
	    <div class="rightlv rightcontent">
			<img src="{{ Config::get('app.url') }}/img/rgr.png">
			<h3>最活跃律师</h3>
			<ul>
			</ul>
			<a class="btn" href="{{ Route('lawyer.list') }}">搜索更多>></a>
		</div>
	    <div class="lawyerReply">
	    </div>
	</div>
<script type="text/javascript">
	var id = "{{ $data['id'] }}";
	var jumpUrl = "{{ Config::get('app.url') }}";
</script>
@show
 -->